//
//  BaseFruitsUtil.m
//  FruitsAndHealthy
//
//  Created by appying_wxj on 14/11/20.
//  Copyright (c) 2014年 appying_wxj. All rights reserved.
//

#import "BaseFruitsUtil.h"

@implementation BaseFruitsUtil
static FMDatabase *_db;

+ (FMDatabase *)getDataBase
{
    NSString *dbPath = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/fmdbtest.sqlite"];
    
    _db = [[FMDatabase alloc] initWithPath:dbPath];
    
    return _db;
}

@end
